package com.lagou.repository;

import com.lagou.entity.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderRepository extends JpaRepository<OrderDetail,Integer> {

    List<OrderDetail> findAllByOrderStatus(Integer orderStaus);

}
